/*
 * @Description: 抽取应用包操作行为 本地导入，导出， 本地更新 ---马山
 * @Date: 2019-10-14 11:08:46
 * @LastEditTime: 2020-03-19 12:44:14
 * @LastEditors: 黄勇
 */

import {
    createNamespacedHelpers
} from "vuex";

const {
    mapState,
    mapMutations,
    mapActions
} = createNamespacedHelpers("user");


export default {
    components: {},
    data() {
        return {
            isShowUploadDialog: false,
            isShowDownloadDialog: false
        }
    },
    computed: {
        ...mapState(["userInfo","accessIdentity"]),
        
    },
    methods: {
        ...mapMutations([]),
        ...mapActions([]),

        // 应用导入------------start
        //打开本地导入提示框
        showUploadDialog(value=false) {
            this.isShowUploadDialog = value;
        },
        //导入应用整合后的最终回调
        openAppInstall(data) {
            console.log("应用全部整理完成，即将执行应用安装操作向导")
            console.log(data)
        },
        // 应用导入------------end


        //打开导出提示框
        showDownloadDialog(value=false) {
            this.isShowDownloadDialog = value;
        },
        uploadApp() {},
        downloadApp() {},
        refreshApp() {},
        
    }

}